package part1.oo.ooday02.ooday02test;

public class Dog extends Animal {
    Dog(String name,int age,String color){
        super(name,age,color);
    }

    @Override
    void eat() {
        System.out.println(color+"颜色的"+age+"岁的小狗"+name+"正在吃骨头...");
    }

    void lookHome(){
        System.out.println(color+"颜色的"+age+"岁的小狗"+name+"正在看家...");
    }
}
